FROM mysql:5.7.32
WORKDIR /docker-entrypoint-initdb.d
ENV LANG=C.UTF-8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime 
ADD sql/* ./
ADD my.cnf /etc/mysql/conf.d/
RUN cd ~

